import request from '@/utils/request'

// 查询收付款支付订单及业务关联列表
export function listPayorderdetail(query) {
  return request({
    url: '/money/payorderdetail/list',
    method: 'get',
    params: query
  })
}

// 查询收付款支付订单及业务关联详细
export function getPayorderdetail(id) {
  return request({
    url: '/money/payorderdetail/' + id,
    method: 'get'
  })
}

// 新增收付款支付订单及业务关联
export function addPayorderdetail(data) {
  return request({
    url: '/money/payorderdetail',
    method: 'post',
    data: data
  })
}

// 修改收付款支付订单及业务关联
export function updatePayorderdetail(data) {
  return request({
    url: '/money/payorderdetail',
    method: 'put',
    data: data
  })
}

// 删除收付款支付订单及业务关联
export function delPayorderdetail(id) {
  return request({
    url: '/money/payorderdetail/' + id,
    method: 'delete'
  })
}
